package com.colorfruit.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @author xiehf
 * @date 2018/12/23 22:24
 * @concat 370693739@qq.com
 **/
public interface PermissionService {
    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
